$(function(){
	
});

function topUp(){
	var money = $("#money").val();
}

function payCreditMoney(){
	var applyMoney = $("#money").text();
	applyMoney = parseInt(applyMoney);
	if(!applyMoney || applyMoney <= 0){
		lh.alert('金额不正确');return;
	}else if(applyMoney > 5000){
		lh.alert('金额不能超过五千元');return;
	}
	var crediMoneyPayed = $("#crediMoneyPayed").val();
	if(!crediMoneyPayed || crediMoneyPayed<=0 )crediMoneyPayed = 0;
	crediMoneyPayed = new Number(crediMoneyPayed);
	applyMoney += crediMoneyPayed;
	var fromUrl = localStorage.setItem("fromUrl", '/propertyManage');
	lh.jumpR('/creditMoney?bail='+applyMoney);
	
}

function inputChargeMoney(){
	showCallActionSheet({opt:'charge'});//call面板
}

function doCharge(){
	var price = $('#numView').text();
	$('#money').text(price);
	hideCallActionSheet();
}